package com.mxx.common.netty.ws;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.websocketx.WebSocketFrame;

/**
 * @Auther: Mr. Zeng
 * @Date: 2020/8/10 10:27
 * @Description: 暂无描述
 */
public interface NettyWebsocketRequest {
    NettyWebsocketMessage getNettyWebsocketMessage();

    WebSocketFrame getWebSocketFrame();

    void sendSelf(Object data);

    void sendOfChannelId(Object data, String... channelId);

    boolean sendOfChannelId(Object data, String channelId);

    void sendAll(Object data);

    ChannelHandlerContext getChannelHandlerContext();

    String getChannelId();
}
